Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GHA summary to maven-cd.yml runs #33

Merged

Conversation

mhoffrog
Copy link
Contributor

Reference

@jglick @timja This PR is supposed to close #12.

Test / Screenshot

see https://github.com/jenkinsci/unleash-plugin/actions/runs/10939259140
cd_GHA_summary

@timja timja added the enhancement New feature or request label Sep 19, 2024
@timja timja merged commit 83dcb44 into jenkins-infra:main Sep 19, 2024
Comment on lines +55 to +56
echo "\`\`\`" >> $GITHUB_STEP_SUMMARY
echo "================================" | tee -a $GITHUB_STEP_SUMMARY
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BTW here-docs would be a bit more legible.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jglick Yes, thought about that as well afterwards - will file another PR if I have few minutes.

mhoffrog added a commit to mhoffrog/jenkins-infra.github-reusable-workflows that referenced this pull request Sep 20, 2024
jglick added a commit that referenced this pull request Sep 20, 2024
…#34)

* here-docs code improvement for GHA summary to maven-cd.yml runs (#33)

* Simplify  .github/workflows/maven-cd.yml - enclose markdown code format wrapper with single quotessingle quote

Co-authored-by: Jesse Glick <[email protected]>

* Simplify .github/workflows/maven-cd.yml - make use of cat ... | tee -a in a single line

Co-authored-by: Jesse Glick <[email protected]>

---------

Co-authored-by: Jesse Glick <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use $GITHUB_STEP_SUMMARY from various actions
3 participants